package cn.stylefeng.guns.modular.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 货运订单明细表
 */
@TableName("order_transport_detailed")
@Data
public class OrderTransportDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 托运订单号
     */
    @TableField("transport_number")
    private String transportNumber;

    /**
     * 新零帮库位id
     */
    @TableField("xlb_position_id")
    private String xlbPositionId;

    /**
     * 库位id
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 库位编号
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 新零帮商品id
     */
    @TableField("xlb_goods_id")
    private String xlbGoodsId;

    /**
     * 商品id
     */
    @TableField("good_id")
    private Long goodId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 货号
     */
    @TableField("goods_no")
    private String goodsNo;

    /**
     * 重泡货
     */
    @TableField("rebubbles")
    private String rebubbles;

    /**
     * 商品大类
     */
    @TableField("largeclass")
    private String largeclass;

    /**
     * 商品类别
     */
    @TableField("goodstype")
    private String goodstype;

    /**
     * 保管条件
     */
    @TableField("conditions")
    private String conditions;

    /**
     * 单位
     */
    @TableField("goods_unit")
    private String goodsUnit;

    /**
     * 包装
     */
    @TableField("dpacking")
    private String dpacking;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 基本单位
     */
    @TableField("jiben_unit")
    private String jibenUnit;

    /**
     * 基本数量
     */
    @TableField("jiben_num")
    private String jibenNum;

    /**
     * 大包数
     */
    @TableField("balenum")
    private String balenum;

    /**
     * 数量
     */
    @TableField("num")
    private String num;

    /**
     * 换算率
     */
    @TableField("rate")
    private String rate;

    /**
     * 未分配数量
     */
    @TableField("notnum")
    private String notnum;

    /**
     * 货运重量
     */
    @TableField("transport_weight")
    private String transportWeight;

    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 货运体积
     */
    @TableField("transport_putvolume")
    private String transportPutvolume;

    /**
     * 未分配体积
     */
    @TableField("notvolume")
    private String notvolume;

    /**
     * 体积（M3）
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 单价
     */
    @TableField("unitprice")
    private String unitprice;

    /**
     * 金额
     */
    @TableField("transport_money")
    private String transportMoney;

    /**
     * 批次
     */
    @TableField("batchnumber")
    private String batchnumber;

    /**
     * 生产日期
     */
    @TableField("detailed_date")
    private String detailedDate;

    /**
     * 到期日期
     */
    @TableField("daoqi_date")
    private String daoqiDate;

    @Override
    public String toString() {
        return "OrderTransportDetailed{" +
        "id=" + id +
        ", transportNumber=" + transportNumber +
        ", goodsName=" + goodsName +
        ", goodId=" + goodId +
        ", goodsNumber=" + goodsNumber +
        ", rebubbles=" + rebubbles +
        ", dpacking=" + dpacking +
        ", largeclass=" + largeclass +
        ", goodstype=" + goodstype +
        ", conditions=" + conditions +
        ", balenum=" + balenum +
        ", num=" + num +
        ", transportWeight=" + transportWeight +
        ", goodsWeight=" + goodsWeight +
        ", transportPutvolume=" + transportPutvolume +
        ", goodsVolume=" + goodsVolume +
        ", unitprice=" + unitprice +
        ", transportMoney=" + transportMoney +
        ", transportMoney=" + transportMoney +
        ", notvolume=" + notvolume +
        ", notnum=" + notnum +
        "}";
    }
}
